cmake_minimum_required(VERSION 3.18.1)


add_library(
        native-lib
        SHARED
        native-lib.cpp
)
#系统目录  系统环境变量     log-lib 变量
find_library(
        log-lib
        log)
target_link_libraries(
        native-lib
        ${log-lib}
        )